# Contributor: Emma Nora Theuer <kontakt@entheuer.de>
# Contributor: Dominika Liberda <ja@sdomi.pl>
# Maintainer: Emma Nora Theuer <kontakt@entheuer.de>
pkgname=qtile
pkgver=0.23.0
pkgrel=1
pkgdesc="A full-featured, hackable tiling X11 window manager written and configured in Python"
url="https://github.com/qtile/qtile"
arch="all"
license="MIT"
depends="
	pango
	py3-cairocffi
	py3-dbus-next
	py3-xcffib
	"
makedepends="
	libx11-dev
	pango
	py3-cffi
	py3-setuptools
	py3-setuptools_scm
	"
options="!check" # broken due to unavailable packages
subpackages="$pkgname-pyc"
source="qtile-$pkgver.tar.gz::https://github.com/qtile/qtile/archive/v$pkgver.tar.gz"

build() {
	export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
8121d980fb74de6b7c464c0d8d82fcffa922653400c0d74dfb5e9105762a6a9931fbc7465d68accc6c513abe11a79547282ab886d20cac9970dba1b184da682b  qtile-0.23.0.tar.gz
"
